package com.example.demo.model;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.awt.*;

@Component
@ConfigurationProperties("mylist")
public class MyList {
    private List colors;

    public List getColors() {
        return colors;
    }

    @Override
    public String toString() {
        return "MyList{" +
                "colors=" + colors +
                '}';
    }

    public void setColors(List colors) {
        this.colors = colors;
    }
}
